package com.skyline.attraction.model;

import java.util.Date;

import com.skyline.attraction.type.RatyType;
import com.skyline.common.util.CommonUtils;

public class Raty {
	private Long id;
	private Long tarId;
	private RatyType type;
	private Long userId;
	private Integer ratyStar;
	private Date ratyTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getTarId() {
		return tarId;
	}

	public void setTarId(Long tarId) {
		this.tarId = tarId;
	}

	public RatyType getType() {
		return type;
	}

	public void setType(RatyType type) {
		this.type = type;
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Integer getRatyStar() {
		return ratyStar;
	}

	public void setRatyStar(Integer ratyStar) {
		this.ratyStar = ratyStar;
	}

	public Date getRatyTime() {
		return CommonUtils.cloneDate(ratyTime);
	}

	public void setRatyTime(Date ratyTime) {
		this.ratyTime = CommonUtils.cloneDate(ratyTime);
	}

}
